<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut icon" href="${ctx}/static/favicon.ico" />
<link rel="bookmark" href="${ctx}/static/favicon.ico" />
<link href="${ctx}/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/static/h-ui/css/H-ui.login.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/static/h-ui/lib/icheck/icheck.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/static/h-ui/lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="${ctx}/static/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${ctx}/static/easyui/themes/icon.css">
<script type="text/javascript" src="${ctx}/static/bootstrap/js/jquery.min.js"></script>

<title>登录|学生成绩管理系统</title>
</head>
<body>
	<div class="header" style="padding: 0;">
		<h2
			style="color: white; width: 400px; height: 60px; line-height: 60px; margin: 0 0 0 30px; padding: 0;">学生成绩管理系统</h2>
	</div>
	<div class="loginWraper">
		<div id="loginform" class="loginBox">
			<form id="form-login" class="form form-horizontal" action="${ctx}/login/login" method="post">
				<div class="row cl">
					<label class="form-label col-3"><i class="Hui-iconfont">&#xe60d;</i></label>
					<div class="formControls col-8">
						<input id="id" name="id" type="text" placeholder="账户"	class="input-text size-L" />
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-3"><i class="Hui-iconfont">&#xe60e;</i></label>
					<div class="formControls col-8">
						<input id="password" name="password" type="password" placeholder="密码" class="input-text size-L" />
					</div>
				</div>
				<div class="mt-20 skin-minimal" style="text-align: center">
					<div class="radio-box">
						<input type="radio" id="radio" name="type" checked value="1" />
						<label for="radio" style="color:white;">学生</label>
					</div>
					<div class="radio-box">
						<input type="radio" id="radio" name="type" value="2" />
						<label for="radio" style="color:white;">老师</label>
					</div>
					<div class="radio-box">
						<input type="radio" id="radio" name="type" value="3" />
						<label for="radio" style="color:white;">管理员</label>
					</div>
				</div>
				<div class="row">
					<div class="formControls col-8 col-offset-3">
						<button type="submit" id="btnSubmit"
							class="btn btn-success radius size-L">登录</button>
					</div>
				</div>
				<div class="row " style="width: 300px; height: 60px; line-height: 60px;color: #e6cde3; font-weight: bold; font-size: 16px;margin: 0 auto;">
					${msg}
				</div>
			</form>
			
		</div>
	</div>
	<div class="footer">Minigrade</div>
	
</body>
</html>